package com.noovo.comport.aidl;

import com.noovo.comport.aidl.IComCallback;

interface IComService{
    void setCom(int port, String comName, int baudrate, int databits, int stopbits, char parity);
    void sendMessageOnce(int port, in byte[] message);
    void sendMessageLoop(int port, in byte[] message, int delay);
    void stopSendMessage(int port);
    void registerComCallback(IComCallback callback);
    void unregisterComCallback();
}